import myAxios from '../utils/myAxios'

export const articleAPI = params => {
  return myAxios({
    url: '/h5/interview/query',
    params
  })
}

export const detailAPI = id => {
  return myAxios({
    url: '/h5/interview/show',
    params: {
      id
    }
  })
}
export const collectAndLikeAPI = data => {
  return myAxios({
    method: 'post',
    url: '/h5/interview/opt',
    data
  })
}
export const collectAndLikeListAPI = params => {
  return myAxios({
    url: '/h5/interview/opt/list',
    params
  })
}
